Comment #16 on issue 16020 by scher...@chromium.org: FFmpegDemuxer should  
be duplicating every packet of encoded data
http://code.google.com/p/chromium/issues/detail?id=16020

Hey ffmpeg,

I originally found the bug when playing MP3 files.  Most of the time the  
data was
malloc'd, but then around ~20 seconds the data started to be mapped to the  
same
pointer.

Although most codecs+containers do malloc data, I suppose it cannot be  
guaranteed,
which is consistent with avformat.h documentation on av_read_frame():
"The returned packet is valid until the next av_read_frame() or until
av_close_input_file() and must be freed with av_free_packet."

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to