diff --git a/libavformat/raw.c b/libavformat/raw.c
index 83cc131b9722c334dad6d3dde892bc59d8d484c9..f4d7bb16c3b02a6759b4095654a02283a92c6b0c 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};
     }