diff h264.h @ 5801:0be16259b7d8 libavcodec

Enable PAFF decoding
author cehoyos
date Tue, 09 Oct 2007 12:28:17 +0000
parents 0b3aa6f4c313
children 1d83e9c34641
line wrap: on
line diff
--- a/h264.h	Tue Oct 09 05:39:49 2007 +0000
+++ b/h264.h	Tue Oct 09 12:28:17 2007 +0000
@@ -59,7 +59,7 @@
 #define MB_MBAFF h->mb_mbaff
 #define MB_FIELD h->mb_field_decoding_flag
 #define FRAME_MBAFF h->mb_aff_frame
-#define FIELD_PICTURE 0
+#define FIELD_PICTURE (s->picture_structure != PICT_FRAME)
 #else
 #define MB_MBAFF 0
 #define MB_FIELD 0