diff options
author | Steve Jiekak <devaureshy@gmail.com> | 2014-12-04 14:48:15 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-12-04 20:24:00 +0100 |
commit | a32c3c2392eca1eab3d833c4a655c2fef74f5f06 (patch) | |
tree | d7ab99d8d49b6638f536a941ce6f4cc22c54f4e7 /libavformat/dv.c | |
parent | 6e9ac02af8b67522fef6eaf22d983b6d1a39221e (diff) | |
download | ffmpeg-a32c3c2392eca1eab3d833c4a655c2fef74f5f06.tar.gz |
replaced av_dv_codec_profile by av_dv_codec_profile2 in encoder and dv muxers
Signed-off-by: Steve Jiekak <devaureshy@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/dv.c')
-rw-r--r-- | libavformat/dv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/dv.c b/libavformat/dv.c index 095966c9ee..4b8593d882 100644 --- a/libavformat/dv.c +++ b/libavformat/dv.c @@ -422,8 +422,8 @@ static int64_t dv_frame_offset(AVFormatContext *s, DVDemuxContext *c, int64_t timestamp, int flags) { // FIXME: sys may be wrong if last dv_read_packet() failed (buffer is junk) - const AVDVProfile *sys = av_dv_codec_profile(c->vst->codec->width, c->vst->codec->height, - c->vst->codec->pix_fmt); + const AVDVProfile *sys = av_dv_codec_profile2(c->vst->codec->width, c->vst->codec->height, + c->vst->codec->pix_fmt, c->vst->codec->time_base); int64_t offset; int64_t size = avio_size(s->pb) - s->data_offset; int64_t max_offset = ((size - 1) / sys->frame_size) * sys->frame_size; |