[vlc-commits] mmal: codec: remove write-only variable
Steve Lhomme
git at videolan.org
Mon Nov 9 15:30:49 CET 2020
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Nov 6 09:42:51 2020 +0100| [c014f2a5a1d97a9d9c72439c8fcf4df1b11a76d5] | committer: Steve Lhomme
mmal: codec: remove write-only variable
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c014f2a5a1d97a9d9c72439c8fcf4df1b11a76d5
---
modules/hw/mmal/codec.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/modules/hw/mmal/codec.c b/modules/hw/mmal/codec.c
index a10ac5637a..e3bdeffc16 100644
--- a/modules/hw/mmal/codec.c
+++ b/modules/hw/mmal/codec.c
@@ -68,7 +68,6 @@ typedef struct
MMAL_ES_FORMAT_T *output_format;
MMAL_STATUS_T err_stream;
- bool b_top_field_first;
bool b_progressive;
bool b_flushed;
@@ -365,8 +364,6 @@ apply_fmt:
status, mmal_status_to_string(status));
} else {
sys->b_progressive = (interlace_type.eMode == MMAL_InterlaceProgressive);
- sys->b_top_field_first = sys->b_progressive ? true :
- (interlace_type.eMode == MMAL_InterlaceFieldsInterleavedUpperFirst);
}
// Tell the rest of the world we have changed format
More information about the vlc-commits
mailing list