OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e4baa6
)
remove incorrect special case for audio
author
Michael Niedermayer
<michaelni@gmx.at>
Sat, 17 Mar 2007 14:44:22 +0000
(14:44 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sat, 17 Mar 2007 14:44:22 +0000
(14:44 +0000)
Originally committed as revision 8433 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/utils.c
patch
|
blob
|
history
diff --git
a/libavformat/utils.c
b/libavformat/utils.c
index
f07ed66
..
7e03b7f
100644
(file)
--- a/
libavformat/utils.c
+++ b/
libavformat/utils.c
@@
-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;
- }
}
}