]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/aac_adtstoasc_bsf.c
celp filters: Do not read earlier than the start of the 'out' vector.
[ffmpeg] / libavcodec / aac_adtstoasc_bsf.c
index be12e99587ad2e8f1044313befc759bdbc272692..55181bbf55be92849fc8afa1c523dd8495921ad6 100644 (file)
@@ -78,7 +78,7 @@ static int aac_adtstoasc_filter(AVBitStreamFilterContext *bsfc,
                 return -1;
             }
             init_put_bits(&pb, pce_data, MAX_PCE_SIZE);
-            pce_size = ff_copy_pce_data(&pb, &gb)/8;
+            pce_size = avpriv_copy_pce_data(&pb, &gb)/8;
             flush_put_bits(&pb);
             buf_size -= get_bits_count(&gb)/8;
             buf      += get_bits_count(&gb)/8;