projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21da962
)
Forgot this, which is needed for merging field pics too.
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 20 Feb 2008 19:48:25 +0000
(19:48 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 20 Feb 2008 19:48:25 +0000
(19:48 +0000)
Originally committed as revision 12161 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mpegvideo_parser.c
patch
|
blob
|
history
diff --git
a/libavcodec/mpegvideo_parser.c
b/libavcodec/mpegvideo_parser.c
index
cc423b7
..
5b48b1c
100644
(file)
--- a/
libavcodec/mpegvideo_parser.c
+++ b/
libavcodec/mpegvideo_parser.c
@@
-103,14
+103,6
@@
static void mpegvideo_extract_headers(AVCodecParserContext *s,
s->repeat_pict = 1;
}
}
-
- /* the packet only represents half a frame
- XXX,FIXME maybe find a different solution */
- if(picture_structure != 3){
- s->repeat_pict = -1;
- s->parity = picture_structure-1;
- }else
- s->parity = !top_field_first;
}
break;
}