mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-11-03 09:41:17 +08:00
Merge commit '2d6e58497e76836604364b037df9b00ba3d75b69'
* commit '2d6e58497e76836604364b037df9b00ba3d75b69': lavf: switch to AVCodecContext.framerate for demuxing Conflicts: libavformat/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -84,6 +84,7 @@ int ff_raw_video_read_header(AVFormatContext *s)
|
||||
st->codec->codec_id = s->iformat->raw_codec_id;
|
||||
st->need_parsing = AVSTREAM_PARSE_FULL_RAW;
|
||||
|
||||
st->codec->framerate = s1->framerate;
|
||||
st->codec->time_base = av_inv_q(s1->framerate);
|
||||
avpriv_set_pts_info(st, 64, 1, 1200000);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user