summaryrefslogtreecommitdiff
path: root/libavformat/s337m.c
Commit message (Collapse)AuthorAge
* avformat: Remove unnecessary av_packet_unref()Andreas Rheinhardt2020-02-10
| | | | | | | | | Since bae8844e the packet will always be unreferenced when a demuxer returns an error, so that a lot of calls to av_packet_unref() in lots of demuxers are now redundant and can be removed. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/s337m: Use base AVClass for av_log usageNicolas Gaullier2020-01-16
| | | | | | | | s337m_get_offset_and_codec does not make use of AVFormatContext: AVClass is enough for logging. Will facilitate further use from outside Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf: Constify the probe function argument.Carl Eugen Hoyos2019-03-21
| | | | | Reviewed-by: Lauri Kasanen Reviewed-by: Tomas Härdin
* avformat/s337m: fix potentially undefined pointer arithmeticfoo862017-07-26
| | | | | Use integer position instead of pointer for loop variable. Also only skip header fields after header has been fully validated.
* avformat: add SMPTE 337M demuxerfoo862017-07-19