summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/dump.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/dump.c b/libavformat/dump.c
index 126b6241ee..8e97197e1a 100644
--- a/libavformat/dump.c
+++ b/libavformat/dump.c
@@ -458,6 +458,8 @@ static void dump_stream_format(AVFormatContext *ic, int i,
avctx->codec = st->codec->codec;
avctx->qmin = st->codec->qmin;
avctx->qmax = st->codec->qmax;
+ avctx->coded_width = st->codec->coded_width;
+ avctx->coded_height = st->codec->coded_height;
if (separator)
av_opt_set(avctx, "dump_separator", separator, 0);