forked from FFmpeg/FFmpeg
remove incorrect special case for audio
Originally committed as revision 8433 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
7e4baa66e0
commit
bc4efe42dd
1 changed files with 0 additions and 9 deletions
|
@ -671,17 +671,8 @@ static void compute_pkt_fields(AVFormatContext *s, AVStream *st,
|
|||
if (pc) {
|
||||
pkt->flags = 0;
|
||||
/* key frame computation */
|
||||
switch(st->codec->codec_type) {
|
||||
case CODEC_TYPE_VIDEO:
|
||||
if (pc->pict_type == FF_I_TYPE)
|
||||
pkt->flags |= PKT_FLAG_KEY;
|
||||
break;
|
||||
case CODEC_TYPE_AUDIO:
|
||||
pkt->flags |= PKT_FLAG_KEY;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue