mirror of
https://github.com/mpv-player/mpv
synced 2025-03-07 06:19:20 +01:00
follow renaming of pbBufPtr() to put_bits_ptr() by stefano
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29178 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
d9e794a24f
commit
a0bd74f06d
@ -620,7 +620,7 @@ static int jpeg_enc_frame(jpeg_enc_t *j, uint8_t *y_data,
|
||||
//if (j->s->mjpeg_write_tables == 1)
|
||||
// j->s->mjpeg_write_tables = 0;
|
||||
|
||||
return pbBufPtr(&(j->s->pb)) - j->s->pb.buf;
|
||||
return put_bits_ptr(&(j->s->pb)) - j->s->pb.buf;
|
||||
}
|
||||
|
||||
/// the real uninit routine
|
||||
|
@ -484,7 +484,7 @@ int jpeg_enc_frame(jpeg_enc_t *j, unsigned char *y_data,
|
||||
//if (j->s->mjpeg_write_tables == 1)
|
||||
// j->s->mjpeg_write_tables = 0;
|
||||
|
||||
return pbBufPtr(&(j->s->pb)) - j->s->pb.buf;
|
||||
return put_bits_ptr(&(j->s->pb)) - j->s->pb.buf;
|
||||
}
|
||||
|
||||
void jpeg_enc_uninit(jpeg_enc_t *j) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user