diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-06-01 01:50:08 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-06-09 22:46:03 +0400 |
commit | d6c73986cc64600354971ae95491e8b77f3237eb (patch) | |
tree | eae102b9d9c7187dffd6d63f037ebd01a8a68e06 | |
parent | aefa2bf70a053f0fe26a2bc2342f8c8a2a43ecf0 (diff) |
dv-demux: dont mess with codec values
Fixes part of Ticket1369
Found-by: ami_stuff
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 3c276ac0f8936745543d14674842647c502bdd2e)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/dv.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavformat/dv.c b/libavformat/dv.c index a475307bf6..1275b1971f 100644 --- a/libavformat/dv.c +++ b/libavformat/dv.c @@ -267,9 +267,6 @@ static int dv_extract_video_info(DVDemuxContext *c, uint8_t* frame) avpriv_set_pts_info(c->vst, 64, c->sys->time_base.num, c->sys->time_base.den); avctx->time_base= c->sys->time_base; - if (!avctx->width) - avcodec_set_dimensions(avctx, c->sys->width, c->sys->height); - avctx->pix_fmt = c->sys->pix_fmt; /* finding out SAR is a little bit messy */ vsc_pack = dv_extract_pack(frame, dv_video_control); |