[FFmpeg-trac] #6695(avformat:closed): avformat_new_stream() and cur_dts

FFmpeg trac at avcodec.org
Tue Sep 26 15:30:10 EEST 2017


#6695: avformat_new_stream() and cur_dts
------------------------------------+------------------------------------
             Reporter:  jonsmirl    |                    Owner:
                 Type:  defect      |                   Status:  closed
             Priority:  important   |                Component:  avformat
              Version:  git-master  |               Resolution:  invalid
             Keywords:  regression  |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------
Changes (by jonsmirl):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 When I was making a patch for this I noticed what changed in ffmpeg. That
 led me to look at our code. Our code was mis-using the iformat field to
 pass a 'this' pointer to the file/open close callbacks since there wasn't
 any other way to pass the pointer. Apparently we can't mis-use that field
 anymore.

 We were trying to avoid writing a full custom IO implementation since all
 we needed was to track the file opens. I guess we have to figure out how
 to write the full custom IO code now.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6695#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list