Mercurial > libavformat.hg
changeset 1929:8c3d5daaa19f libavformat
remove incorrect special case for audio
author | michael |
---|---|
date | Sat, 17 Mar 2007 14:44:22 +0000 |
parents | 19be2f007347 |
children | f67a8d12053d |
files | utils.c |
diffstat | 1 files changed, 0 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/utils.c Sat Mar 17 14:29:00 2007 +0000 +++ b/utils.c Sat Mar 17 14:44:22 2007 +0000 @@ -671,17 +671,8 @@ 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; - } } }