h264data: Move all data tables from a header to a .c file
[ffmpeg.git] / libavcodec / h264_slice.c
index b44aa3e3a4119918eb007d0d67f256e7815f63f4..408cc48d739c6c4c45dda9e937cc2969b57286ce 100644 (file)
@@ -1081,7 +1081,7 @@ int ff_h264_decode_slice_header(H264Context *h, H264SliceContext *sl)
     } else
         sl->slice_type_fixed = 0;
 
-    slice_type golomb_to_pict_type[slice_type];
+    slice_type         = ff_h264_golomb_to_pict_type[slice_type];
     sl->slice_type     = slice_type;
     sl->slice_type_nos = slice_type & 3;