[SCM] libav/experimental: * Add defaults to switch statements

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:31:40 UTC 2013


The following commit has been merged in the experimental branch:
commit ac5e6a5bd76d68208f6b920be7f3f4fdae55c3c2
Author: Philip Gladstone <philipjsg at users.sourceforge.net>
Date:   Thu May 9 01:19:33 2002 +0000

    * Add defaults to switch statements
    
    Originally committed as revision 465 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libav/mpeg.c b/libav/mpeg.c
index 6379724..6b065d1 100644
--- a/libav/mpeg.c
+++ b/libav/mpeg.c
@@ -191,6 +191,8 @@ static int mpeg_mux_init(AVFormatContext *ctx)
             stream->max_buffer_size = 46 * 1024; 
             s->video_bound++;
             break;
+        default:
+            abort();
         }
     }
 
@@ -226,6 +228,8 @@ static int mpeg_mux_init(AVFormatContext *ctx)
                         st->codec.frame_rate,
                         90000 * FRAME_RATE_BASE);
             break;
+        default:
+            abort();
         }
     }
     return 0;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list