]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/rpzaenc.c
avfilter/transform: Stop exporting internal functions
[ffmpeg] / libavcodec / rpzaenc.c
index baf067c205701cdfd2dbc7775cf05881ba19e663..eeb82716c99eac23d8f2400c7fec78c01de8e8f0 100644 (file)
@@ -802,7 +802,7 @@ static int rpza_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
 
     flush_put_bits(&s->pb);
 
-    av_shrink_packet(pkt, put_bits_count(&s->pb) >> 3);
+    av_shrink_packet(pkt, put_bytes_output(&s->pb));
     buf = pkt->data;
 
     // write header opcode