mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
closedcaption: Fix compilation on older compilers
For when -std=c99 (or later) is not the default.
This commit is contained in:
parent
c43e74d885
commit
c6f19511b5
1 changed files with 2 additions and 1 deletions
|
@ -1521,7 +1521,8 @@ gst_cea_cc_overlay_user_data_decode (GstCeaCcOverlay * overlay,
|
|||
case CCTYPE_608_CC2:
|
||||
if (cc_valid) {
|
||||
if (overlay->cea608_index[cc_type] <= DTVCC_LENGTH - 2) {
|
||||
for (size_t j = 0; j < 2; ++j) {
|
||||
size_t j;
|
||||
for (j = 0; j < 2; ++j) {
|
||||
if ((cc_data[j] < ' ') || (cc_data[j] > '~')) {
|
||||
gst_cea_cc_overlay_process_packet (overlay, cc_type);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue