summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/raw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/raw.c b/libavformat/raw.c
index 83cc131b97..f4d7bb16c3 100644
--- a/libavformat/raw.c
+++ b/libavformat/raw.c
@@ -282,6 +282,7 @@ static int video_read_header(AVFormatContext *s,
} else if ( st->codec->codec_id == CODEC_ID_MJPEG ||
st->codec->codec_id == CODEC_ID_MPEG4 ||
st->codec->codec_id == CODEC_ID_DIRAC ||
+ st->codec->codec_id == CODEC_ID_DNXHD ||
st->codec->codec_id == CODEC_ID_H264) {
st->codec->time_base= (AVRational){1,25};
}