Mercurial > libavformat.hg
comparison movenc.c @ 4826:5630bd03a01d libavformat
remove no more needed code, tag is set by default
author | bcoudurier |
---|---|
date | Tue, 07 Apr 2009 22:23:15 +0000 |
parents | b2eef653b7e4 |
children | ffb2510144db |
comparison
equal
deleted
inserted
replaced
4825:b2eef653b7e4 | 4826:5630bd03a01d |
---|---|
638 tag = mov_pix_fmt_tags[i].tag; | 638 tag = mov_pix_fmt_tags[i].tag; |
639 track->enc->bits_per_coded_sample = mov_pix_fmt_tags[i].bps; | 639 track->enc->bits_per_coded_sample = mov_pix_fmt_tags[i].bps; |
640 break; | 640 break; |
641 } | 641 } |
642 } | 642 } |
643 if (!tag) // restore tag | |
644 tag = track->enc->codec_tag; | |
645 | 643 |
646 return tag; | 644 return tag; |
647 } | 645 } |
648 | 646 |
649 static int mov_get_codec_tag(AVFormatContext *s, MOVTrack *track) | 647 static int mov_get_codec_tag(AVFormatContext *s, MOVTrack *track) |