summaryrefslogtreecommitdiff
path: root/libavcodec/libschroedinger.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-10-31 02:26:37 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-10-31 02:26:47 +0100
commit0489af478e5f490aee2d96daa29043b590c8d280 (patch)
tree4b87c989fd78132150f8bed362d19d081ac50e47 /libavcodec/libschroedinger.c
parente484b64ce37e7bc7556c6113ce6f10671e20f61f (diff)
parent45235d69c271966409cdd3eaa022258c22e04fdb (diff)
Merge remote-tracking branch 'qatar/master'
* qatar/master: libdirac/libschroedinger: Drop unnecessary symbol prefixes. cmdutils: check fread() return value Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/libschroedinger.c')
-rw-r--r--libavcodec/libschroedinger.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/libschroedinger.c b/libavcodec/libschroedinger.c
index 04c15a2a01..7dc49f3a92 100644
--- a/libavcodec/libschroedinger.c
+++ b/libavcodec/libschroedinger.c
@@ -64,14 +64,14 @@ SchroVideoFormatEnum ff_get_schro_video_format_preset(AVCodecContext *avccontext
int ff_get_schro_frame_format (SchroChromaFormat schro_pix_fmt,
SchroFrameFormat *schro_frame_fmt)
{
- unsigned int num_formats = sizeof(ffmpeg_schro_pixel_format_map) /
- sizeof(ffmpeg_schro_pixel_format_map[0]);
+ unsigned int num_formats = sizeof(schro_pixel_format_map) /
+ sizeof(schro_pixel_format_map[0]);
int idx;
for (idx = 0; idx < num_formats; ++idx) {
- if (ffmpeg_schro_pixel_format_map[idx].schro_pix_fmt == schro_pix_fmt) {
- *schro_frame_fmt = ffmpeg_schro_pixel_format_map[idx].schro_frame_fmt;
+ if (schro_pixel_format_map[idx].schro_pix_fmt == schro_pix_fmt) {
+ *schro_frame_fmt = schro_pixel_format_map[idx].schro_frame_fmt;
return 0;
}
}