#9800: decklink_dec.cpp captured audio packets are already-freed memory
-------------------------------------+-------------------------------------
             Reporter:               |                     Type:  defect
  liquidblueocean                    |
               Status:  new          |                 Priority:  normal
            Component:  avdevice     |                  Version:
                                     |  unspecified
             Keywords:  decklink     |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:

 This can be seen by simple code inspection.
 While the code calls AddRef on the received videoFrame, it doesn't do it
 for the audioFrame. When it exits the callback made by the DeckLinkAPI,
 that memory will be freed. Thus the avpacket passed on points to freed
 memory. Looks like this bug has been there all the time :(

 How to reproduce:
 {{{
 Any usage of a DeckLink device that captures audio.
 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9800>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to