diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-03-02 00:22:55 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-03-08 10:31:53 +0000 |
| commit | 0e9cc320b18ae53e2bf0cc8fdb9984b58e33e0ec (patch) | |
| tree | c3980e6941b806b14bf0c23ae127287c419f17b9 /src/lib/ffmpeg.cc | |
| parent | 61978a4f081a3c41896bf41185634778b7c1e9ce (diff) | |
Bump ffmpeg to master somewhere post 3.0.
Diffstat (limited to 'src/lib/ffmpeg.cc')
| -rw-r--r-- | src/lib/ffmpeg.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ffmpeg.cc b/src/lib/ffmpeg.cc index 9d6921dcf..296002c74 100644 --- a/src/lib/ffmpeg.cc +++ b/src/lib/ffmpeg.cc @@ -280,9 +280,9 @@ FFmpeg::subtitle_id (AVSubtitle const & sub) digester.add (rect->y); digester.add (rect->w); digester.add (rect->h); - int const line = rect->pict.linesize[0]; + int const line = rect->linesize[0]; for (int j = 0; j < rect->h; ++j) { - digester.add (rect->pict.data[0] + j * line, line); + digester.add (rect->data[0] + j * line, line); } } return digester.get (); |
